import request from '@/util/request'

const baseUrl = '' // http://localhost:7778

export function pageGetAppActivity(data) {
  return request({
    url: baseUrl + '/app/activity/pageGet',
    method: 'post',
    data
  })
}

export function getAppActivity(data) {
  return request({
    url: baseUrl + '/app/activity/get',
    method: 'post',
    data
  })
}

export function deleteListAppActivity(data) {
  return request({
    url: baseUrl + '/app/activity/deleteList',
    method: 'post',
    data
  })
}

export function insertAppActivity(data) {
  return request({
    url: baseUrl + '/app/activity/insert',
    method: 'post',
    data
  })
}

export function updateAppActivity(data) {
  return request({
    url: baseUrl + '/app/activity/update',
    method: 'post',
    data
  })
}
